CC Mode: Don't start fontifying in the middle of an identifier
authorAlan Mackenzie <acm@muc.de>
Sun, 14 Apr 2024 08:21:56 +0000 (08:21 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 14 Apr 2024 08:21:56 +0000 (08:21 +0000)
commitb2842b25bf7fc934cf86b82d1053db55fd55c00b
treeae8d413d3b1d23d6a7fd2c475b063e633997fe69
parent2823eae0b7cb3bd3f2472fde9e13016a8d406a9a
CC Mode: Don't start fontifying in the middle of an identifier

This fixes bug#70367.

* lisp/progmodes/cc-mode.el (c-fl-decl-start): After searching
backwards for the end of the previous statement, check whether
or not we found it.
lisp/progmodes/cc-mode.el